Skip to content

docs: DeepSeek-V4.1-Flash learnings + TODO.impl work ledger - #95

Merged
ronaldtse merged 1 commit into
mainfrom
docs/deepseek-v41-flash-learnings
Sep 11, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
docs/deepseek-v41-flash-learnings

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

The DeepSeek-V4.1-Flash technical report, read end-to-end and mapped to our stack. Most of it (KV-cache compression at 552B/1M-context scale) does not apply; five levers and two recipe validations do, and two of them are already measured on our artifacts.

Learnings memo (TODO.qwen-next/10), including our measurements:

  • Speculative decoding unparked: the shipped layerdrop-int4/small-2.1-int8 pair is a drafter/verifier; probe acceptance 0.97-1.00, ~8.5-8.9 tokens per verifier pass at K=8. TS implementation in interscript-ts#77.
  • Multi-teacher routing tested and NEGATIVE: r6 run over all 1200 SadeedDiac rows, sliced by domain - r7 wins every domain (classical tie, news 3.21 vs 3.52, wiki 2.08 vs 3.29). Combined with the student-side slice (gap on news/wiki, not classical), the residual is student-side.
  • lite-rung premise corrected by spec audit: run-009 IS trained (6ep sequence-KD); the untested variable is the layer-drop init source (generic byt5-small vs the trained 2.1). The lite-2.0 run is specced and launched.
  • Head-wise Muon externally validated (DS V4.1, GLM-5, Kimi-K3); implemented in ml-models with tests.
  • Engram notes corrected: it is a hash-addressed n-gram lookup table, not example retrieval; mHC note carries the single-pass shift.

TODO.impl/: the resulting work ledger, one file per workstream (01-10), priorities P0-P3, acceptance criteria per file.

The report's applicability analysis, now with our own measurements:
speculative-decode acceptance on the shipped tier pair, the r6/r7
per-domain teacher slice (routing hypothesis negative - r7 wins every
domain), and the corrected lite-rung reading (run-009 is trained; the
untested variable is init source).

TODO.impl/01-10: the remaining implementation work, one file per
workstream with priorities and acceptance criteria. Corrections:
TODO.arabic/10 + TODO.hebrew/11 describe example retrieval, but Engram
is a hash-addressed n-gram lookup table (rebuilt note); TODO.arabic/19
carries the single-pass mHC shift; TODO.arabic/18 updated to the
implemented headwise Muon state.
@ronaldtse
ronaldtse merged commit 3032bca into main Sep 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant